<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>
<body>

	<div ng-controller="processUtilityCtrl">
	
		<h1>Execute Process</h1>

		<accordion close-others="oneAtATime">
			
			<accordion-group heading="Clean Cache">

				<button class="btn btn-default btn-sm" ng-click="executeCleanCache()">Add Item</button>

			</accordion-group>
			
<!-- 			<accordion-group heading="Accounting Validation" is-open="true" ng-controller="processUtilityAccountingValidationCtrl"> -->
			<accordion-group heading="Accounting Validation" is-open="true">
				<div>Select Date for validation report: <a href="#" editable-date="accountingValidationDate">{{ accountingValidationDate || 'empty' }}</a></div>  
				<br/>
				<button class="btn btn-default btn-sm" ng-click="executeAccountingValidation()">Generate Validation</button>
			</accordion-group>
			
			<accordion-group heading="Generate Trec Feed">
				<p>The body of the accordion group grows to fit the contents</p>
				<button class="btn btn-default btn-sm" ng-click="executeGenerationTrecFeed()">Add Item</button>
				<div ng-repeat="item in items">{{item}}</div>
			</accordion-group>
			
			<accordion-group heading="Generate Trec Feed Exception">
				<p>The body of the accordion group grows to fit the contents</p>
				<button class="btn btn-default btn-sm" ng-click="executeGenerationTrecFeedException()">Add Item</button>
				<div ng-repeat="item in items">{{item}}</div>
			</accordion-group>
			
			<accordion-group heading="Generate GL Feed">
				<p>The body of the accordion group grows to fit the contents</p>
				<button class="btn btn-default btn-sm" ng-click="executeGenerationGLFeed()">Add Item</button>
				<div ng-repeat="item in items">{{item}}</div>
			</accordion-group>
			
			<accordion-group heading="Generate GL Feed Exceptions">
				<p>The body of the accordion group grows to fit the contents</p>
				<button class="btn btn-default btn-sm" ng-click="executeGenerationGLFeedException()">Add Item</button>
				<div ng-repeat="item in items">{{item}}</div>
			</accordion-group>
			
			<accordion-group heading="Process Exceptions">
				<p>The body of the accordion group grows to fit the contents</p>
				<button class="btn btn-default btn-sm" ng-click="executeProcessException()">Add Item</button>
				<div ng-repeat="item in items">{{item}}</div>
			</accordion-group>
			
		</accordion>
		
	</div>

</body>
</html>